Home
last modified time | relevance | path

Searched defs:cr (Results 1 – 25 of 112) sorted by relevance

12345

/aosp14/frameworks/base/core/java/android/provider/
H A DBrowser.java243 public static final Cursor getAllBookmarks(ContentResolver cr) throws in getAllBookmarks()
255 public static final Cursor getAllVisitedUrls(ContentResolver cr) throws in getAllVisitedUrls()
313 public static final void updateVisitedHistory(ContentResolver cr, in updateVisitedHistory()
325 public static final String[] getVisitedHistory(ContentResolver cr) { in getVisitedHistory()
339 public static final void truncateHistory(ContentResolver cr) { in truncateHistory()
349 public static final boolean canClearHistory(ContentResolver cr) { in canClearHistory()
360 public static final void clearHistory(ContentResolver cr) { in clearHistory()
374 public static final void deleteHistoryTimeFrame(ContentResolver cr, in deleteHistoryTimeFrame()
385 public static final void deleteFromHistory(ContentResolver cr, in deleteFromHistory()
396 public static final void addSearchUrl(ContentResolver cr, String search) { in addSearchUrl()
[all …]
H A DSearchRecentSuggestions.java189 ContentResolver cr = mContext.getContentResolver(); in saveRecentQueryBlocking() local
219 ContentResolver cr = mContext.getContentResolver(); in clearHistory() local
229 protected void truncateHistory(ContentResolver cr, int maxEntries) { in truncateHistory()
H A DSettings.java4074 public static int getInt(ContentResolver cr, String name) in getInt()
4153 public static long getLong(ContentResolver cr, String name) in getLong()
4231 public static float getFloat(ContentResolver cr, String name) in getFloat()
6708 public static int getInt(ContentResolver cr, String name) in getInt()
6787 public static long getLong(ContentResolver cr, String name) in getLong()
6866 public static float getFloat(ContentResolver cr, String name) in getFloat()
11798 public static void setLocationProviderEnabled(ContentResolver cr, in setLocationProviderEnabled()
17162 public static int getInt(ContentResolver cr, String name) in getInt()
17221 public static long getLong(ContentResolver cr, String name) in getLong()
17281 public static float getFloat(ContentResolver cr, String name) in getFloat()
[all …]
H A DCalendarContract.java986 public static final Cursor query(ContentResolver cr, long eventId, String[] projection) { in query()
1917 public static final Cursor query(ContentResolver cr, String[] projection, in query()
1946 public static final Cursor query(ContentResolver cr, String[] projection, in query()
2256 public static final Cursor query(ContentResolver cr, int startDay, int numDays, in query()
2340 public static final Cursor query(ContentResolver cr, long eventId, String[] projection) { in query()
2489 public static final Uri insert(ContentResolver cr, long eventId, in insert()
2518 public static final long findNextAlarmTime(ContentResolver cr, long millis) { in findNextAlarmTime()
2552 public static final void rescheduleMissedAlarms(ContentResolver cr, in rescheduleMissedAlarms()
2648 public static final boolean alarmExists(ContentResolver cr, long eventId, in alarmExists()
/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DSettingsAdapter.java35 public int getGlobalInt(ContentResolver cr, String name, int def) { in getGlobalInt()
45 public boolean putGlobalInt(ContentResolver cr, String name, int value) { in putGlobalInt()
59 public int getSystemIntForUser(ContentResolver cr, String name, int def, int userHandle) { in getSystemIntForUser()
64 public boolean putSystemIntForUser(ContentResolver cr, String name, int value, int userHandle) { in putSystemIntForUser()
73 public int getSecureIntForUser(ContentResolver cr, String name, int def, int userHandle) { in getSecureIntForUser()
83 public boolean putSecureIntForUser(ContentResolver cr, String name, int value, int userHandle) { in putSecureIntForUser()
88 public boolean putSecureStringForUser(ContentResolver cr, String name, String value, in putSecureStringForUser()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
H A DNoOpSettingsAdapter.java34 public int getGlobalInt(ContentResolver cr, String name, int def) { in getGlobalInt()
44 public boolean putGlobalInt(ContentResolver cr, String name, int value) { in putGlobalInt()
62 public int getSystemIntForUser(ContentResolver cr, String name, int def, int userHandle) { in getSystemIntForUser()
67 public boolean putSystemIntForUser(ContentResolver cr, String name, int value, int userHandle) { in putSystemIntForUser()
80 public int getSecureIntForUser(ContentResolver cr, String name, int def, int userHandle) { in getSecureIntForUser()
90 public boolean putSecureIntForUser(ContentResolver cr, String name, int value, int userHandle) { in putSecureIntForUser()
96 public boolean putSecureStringForUser(ContentResolver cr, String name, String value, in putSecureStringForUser()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DCertBlacklister.java57 public BlacklistObserver(String key, String name, String path, ContentResolver cr) { in BlacklistObserver()
113 private BlacklistObserver buildPubkeyObserver(ContentResolver cr) { in buildPubkeyObserver()
120 private BlacklistObserver buildSerialObserver(ContentResolver cr) { in buildSerialObserver()
127 private void registerObservers(ContentResolver cr) { in registerObservers()
/ohos5.0/base/tee/tee_client/services/teecd/src/
H A Dtee_ca_auth.c28 static int GetLoginInfo(const struct ucred *cr, int fd, uint8_t *buf, unsigned int bufLen) in GetLoginInfo()
46 int SendLoginInfo(const struct ucred *cr, const CaRevMsg *caRevInfo, int fd) in SendLoginInfo()
H A Dtee_ca_daemon.c114 static int ProcessCaMsg(const struct ucred *cr, const CaRevMsg *caInfo, int socket) in ProcessCaMsg()
152 struct ucred cr; in ProcessAccept() local
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/rfcomm/
H A Drfcomm_frames.c130 uint8_t cr = (session->isInitiator) ? 1 : 0; in RfcommSendSabm() local
156 uint8_t cr = (session->isInitiator) ? 1 : 0; in RfcommSendDisc() local
182 uint8_t cr = (!session->isInitiator) ? 1 : 0; in RfcommSendUa() local
209 uint8_t cr = (!session->isInitiator) ? 1 : 0; in RfcommSendDm() local
531 int RfcommSendUihNsc(const RfcommSessionInfo *session, uint8_t ea, uint8_t cr, uint8_t type) in RfcommSendUihNsc()
768 uint8_t cr = (header[RFCOMM_ADDRESS] >> RFCOMM_SHIFT_CR) & 1; in RfcommParseHeaderTail() local
972 uint8_t cr = (data >> RFCOMM_SHIFT_CR) & 1; in RfcommParseUihCmd() local
1078 uint8_t cr = (data[RFCOMM_OFFSET_0] >> RFCOMM_SHIFT_CR) & 1; in RfcommSetMscInfo() local
1118 uint8_t cr = (data[RFCOMM_OFFSET_0] >> RFCOMM_SHIFT_CR) & 1; in RfcommSetRpnInfo() local
1173 uint8_t cr = (data[RFCOMM_OFFSET_0] >> RFCOMM_SHIFT_CR) & 1; in RfcommSetRlsInfo() local
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DDropBoxTest.java77 ContentResolver cr = getContext().getContentResolver(); in tearDown() local
367 ContentResolver cr = getContext().getContentResolver(); in testIsTagEnabled() local
443 ContentResolver cr = getContext().getContentResolver(); in testSizeLimits() local
545 ContentResolver cr = getContext().getContentResolver(); in testAgeLimits() local
612 ContentResolver cr = getContext().getContentResolver(); in testFileCountLimits() local
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/
H A DThreadUtilsTest.java54 TestRunnable cr = new TestRunnable(); in testPostOnMainThread_shouldRunOnMainThread() local
/aosp14/system/core/init/
H A Dproperty_service.cpp126 const ucred* cr; member
161 ucred cr = {.pid = 0, .uid = 0, .gid = 0}; in CanReadProperty() local
169 const char* source_context, const ucred& cr) { in CheckMacPerms()
463 const std::string& source_context, const ucred& cr) { in CheckControlPropertyPerms()
530 const std::string& source_context, const ucred& cr, in HandlePropertySet()
575 const std::string& source_context, const ucred& cr, in HandlePropertySetNoSocket()
590 ucred cr; in handle_property_set_fd() local
628 const auto& cr = socket.cred(); in handle_property_set_fd() local
657 const auto& cr = socket.cred(); in handle_property_set_fd() local
680 ucred cr = {.pid = 1, .uid = 0, .gid = 0}; in InitPropertySet() local
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DProcessServiceRecord.java300 final ConnectionRecord cr = clist.get(c); in isAlmostPerceptible() local
343 ConnectionRecord cr = mConnections.valueAt(i); in updateHasAboveClientLocked() local
532 ConnectionRecord cr = c.get(i); in updateBoundClientUids() local
549 ConnectionRecord cr = c.get(i); in addBoundClientUidsOfNewService() local
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/avctp/
H A Davctp_ctrl_act.c351 uint8_t cr; in AvctCbCtrlRevMsg() local
558 void AvctMakeSignleMsgHead(const Packet *pkt, uint8_t label, uint8_t cr, uint16_t pid) in AvctMakeSignleMsgHead()
598 Packet *AvctMakeFrgMsgHeadStart(uint8_t num, uint8_t label, uint8_t cr, uint16_t pid) in AvctMakeFrgMsgHeadStart()
622 Packet *AvctMakeFrgMsgHeadContinueEnd(uint8_t label, uint8_t type, uint8_t cr) in AvctMakeFrgMsgHeadContinueEnd()
H A Davctp_api.c265 uint16_t AVCT_SendMsgReq(uint8_t connId, uint8_t label, uint8_t cr, const Packet *msg) in AVCT_SendMsgReq()
300 uint16_t AvctSendMsgReq(uint8_t connId, uint8_t label, uint8_t cr, const Packet *msg) in AvctSendMsgReq()
466 uint16_t AVCT_BrSendMsgReq(uint8_t connId, uint8_t label, uint8_t cr, const Packet *msg) in AVCT_BrSendMsgReq()
501 uint16_t AvctBrSendMsgReq(uint8_t connId, uint8_t label, uint8_t cr, const Packet *msg) in AvctBrSendMsgReq()
/aosp14/frameworks/base/core/java/android/webkit/
H A DWebIconDatabase.java80 public abstract void bulkRequestIconForPageUrl(ContentResolver cr, String where, in bulkRequestIconForPageUrl()
/aosp14/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
H A DMain.java102 ClassReader cr = new ClassReader(in); in convert() local
/aosp14/frameworks/base/core/tests/coretests/src/android/os/
H A DPowerManagerVrTest.java142 ContentResolver cr = context.getContentResolver(); in setTestVrListener() local
/aosp14/frameworks/base/tools/traceinjection/src/com/android/traceinjection/
H A DMain.java114 ClassReader cr = new ClassReader(in); in convert() local
/aosp14/frameworks/base/test-mock/src/android/test/mock/
H A DMockCursor.java226 public void setNotificationUri(ContentResolver cr, Uri uri) { in setNotificationUri()
231 public void setNotificationUris(ContentResolver cr, List<Uri> uris) { in setNotificationUris()
/aosp14/frameworks/base/core/java/android/database/
H A DCursorWrapper.java241 public void setNotificationUri(ContentResolver cr, Uri uri) { in setNotificationUri()
246 public void setNotificationUris(ContentResolver cr, List<Uri> uris) { in setNotificationUris()
H A DCursor.java442 void setNotificationUri(ContentResolver cr, Uri uri); in setNotificationUri()
458 default void setNotificationUris(@NonNull ContentResolver cr, @NonNull List<Uri> uris) { in setNotificationUris()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecents.java126 ContentResolver cr = mContext.getContentResolver(); in isUserSetup() local
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/
H A DAbstractEnableAdbPreferenceController.java75 final ContentResolver cr = mContext.getContentResolver(); in isAdbEnabled() local

12345