Home
last modified time | relevance | path

Searched refs:Profile (Results 1 – 25 of 32) sorted by relevance

12

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2TransactionTest.java29 import android.provider.ContactsContract.Profile;
77 mResolver.insert(Profile.CONTENT_RAW_CONTACTS_URI, values); in testTransactionCallback_insert()
94 mResolver.insert(Profile.CONTENT_RAW_CONTACTS_URI, values); in testTransactionCallback_update()
111 assertTrue(mResolver.update(Profile.CONTENT_RAW_CONTACTS_URI, values, null, null) > 0); in testTransactionCallback_update()
128 mResolver.insert(Profile.CONTENT_RAW_CONTACTS_URI, values); in testTransactionCallback_delete()
141 assertTrue(mResolver.delete(Profile.CONTENT_RAW_CONTACTS_URI, null, null) > 0); in testTransactionCallback_delete()
167 mResolver.bulkInsert(Profile.CONTENT_RAW_CONTACTS_URI, new ContentValues[] {values}); in testTransactionCallback_bulkInsert()
209 b = ContentProviderOperation.newInsert(Profile.CONTENT_RAW_CONTACTS_URI); in addInsertProfileOperations()
228 assertStoredValues(Profile.CONTENT_URI, cv( in checkStoredProfile()
DTestUtils.java27 import android.provider.ContactsContract.Profile;
233 return insertRawContact(Profile.CONTENT_RAW_CONTACTS_URI, resolver, dbh, values); in insertProfileRawContact()
DContactsProvider2Test.java63 import android.provider.ContactsContract.Profile;
3941 Profile.CONTENT_URI, null, null, null, Contacts._ID); in testQueryProfileWithoutPermission()
3946 Profile.CONTENT_URI.buildUpon().appendPath("data").build(), in testQueryProfileWithoutPermission()
3952 Profile.CONTENT_URI.buildUpon() in testQueryProfileWithoutPermission()
3982 Profile.CONTENT_RAW_CONTACTS_URI, null, null, null, null); in testQueryProfileRawContactWithoutReadPermission()
3988 Profile.CONTENT_RAW_CONTACTS_URI, profileRawContactId).buildUpon() in testQueryProfileRawContactWithoutReadPermission()
3995 Profile.CONTENT_RAW_CONTACTS_URI, profileRawContactId).buildUpon() in testQueryProfileRawContactWithoutReadPermission()
4001 Cursor c = mResolver.query(Profile.CONTENT_URI.buildUpon().appendPath("data").build(), in testQueryProfileDataByDataIdWithoutReadPermission()
4019 Profile.CONTENT_URI.buildUpon().appendPath("data").build(), in testQueryProfileDataWithoutReadPermission()
4077 assertStoredValues(Profile.CONTENT_URI, profileValues); in testQueryContactThenProfile()
[all …]
/packages/apps/Camera2/src/com/android/camera/stats/profiler/
DProfilers.java75 public Profile e(String name) { in e()
83 public Profile w(String name) { in w()
91 public Profile i(String name) { in i()
99 public Profile d(String name) { in d()
107 public Profile v(String name) { in v()
115 public Profile guard(String name) { in guard()
119 public Profile guard(String name, int durationMillis) { in guard()
DProfile.java23 public interface Profile { interface
28 public Profile start(); in start()
DGuardingProfiler.java43 public Profile create(String name) { in create()
49 public Profile create(String name, int maxDurationMillis) { in create()
DProfileBase.java26 public abstract class ProfileBase implements Profile {
38 public final Profile start() { in start()
DProfiler.java28 Profile create(String name); in create()
DLoggingProfiler.java31 public Profile create(String name) { in create()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLRootView.java43 import com.android.gallery3d.util.Profile;
319 Profile.enable(20); // take a sample every 20ms in onSurfaceChanged()
345 Profile.hold(); in onDrawFrame()
384 Profile.commit(); in onDrawFrame()
386 Profile.drop(); in onDrawFrame()
538 Profile.disableAll(); in onPause()
539 Profile.dumpToFile("/sdcard/gallery.prof"); in onPause()
540 Profile.reset(); in onPause()
/packages/apps/Messaging/src/com/android/messaging/util/
DContactUtil.java32 import android.provider.ContactsContract.Profile;
151 Profile._ID, // 0
152 Profile.DISPLAY_NAME_PRIMARY, // 1
153 Profile.PHOTO_THUMBNAIL_URI, // 2
154 Profile.LOOKUP_KEY // 3
217 return new CursorQueryData(context, Profile.CONTENT_URI, SelfQuery.PROJECTION, null, null, in getSelf()
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactDelta.java28 import android.provider.ContactsContract.Profile;
483 if (mContactsQueryUri.equals(Profile.CONTENT_RAW_CONTACTS_URI)) { in buildDiff()
484 builder = child.buildDiff(Uri.withAppendedPath(Profile.CONTENT_URI, in buildDiff()
556 if (mContactsQueryUri.equals(Profile.CONTENT_RAW_CONTACTS_URI)) { in buildDiffWrapper()
557 bw = child.buildDiffWrapper(Uri.withAppendedPath(Profile.CONTENT_URI, in buildDiffWrapper()
644 mContactsQueryUri = Profile.CONTENT_RAW_CONTACTS_URI; in setProfileQueryUri()
/packages/apps/Contacts/src/com/android/contacts/editor/
DPickRawContactLoader.java13 import android.provider.ContactsContract.Profile;
89 rawContactUri = ContactsContract.Profile.CONTENT_RAW_CONTACTS_URI; in loadInBackground()
134 ? Uri.withAppendedPath(Profile.CONTENT_URI, Data.CONTENT_URI.getPath()) in loadInBackground()
183 !uri.toString().equals(Profile.CONTENT_URI.toString())) { in ensureIsContactUri()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapUtils.java33 import android.provider.ContactsContract.Profile;
130 .query(Profile.CONTENT_URI, new String[]{Profile.DISPLAY_NAME}, null, null, null); in getProfileName()
146 if (composer.init(Profile.CONTENT_URI, null, null, null, null, in createProfileVCard()
147 Uri.withAppendedPath(Profile.CONTENT_URI, in createProfileVCard()
/packages/apps/Camera2/src/com/android/camera/app/
DCameraApp.java25 import com.android.camera.stats.profiler.Profile;
60 Profile guard = Profilers.instance().guard("CameraApp onCreate()"); in onCreate()
DFirstRunDetector.java23 import com.android.camera.stats.profiler.Profile;
41 private final Profile mProfile;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DProfileDatabaseHelper.java22 import android.provider.ContactsContract.Profile;
73 values.put(SEQUENCE_SEQ, Profile.MIN_ID); in initializeAutoIncrementSequences()
/packages/apps/Contacts/src/com/android/contacts/
DNfcHandler.java28 import android.provider.ContactsContract.Profile;
73 shareUri = Profile.CONTENT_VCARD_URI.buildUpon(). in createNdefMessage()
/packages/apps/Camera2/src/com/android/camera/
DCaptureModule.java77 import com.android.camera.stats.profiler.Profile;
353 Profile guard = mProfiler.create("new CaptureModule").start(); in CaptureModule()
402 Profile guard = mProfiler.create("CaptureModule.init").start(); in init()
679 Profile guard = mProfiler.create("CaptureModule.resume").start(); in resume()
1316 Profile guard = mProfiler.create("CaptureModule.openCameraAndStartPreview()").start();
1503 Profile profile = mProfiler.create("CaptureModule.closeCamera()").start();
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUtils.java74 import android.provider.ContactsContract.Profile;
331 Profile.CONTENT_RAW_CONTACTS_URI, in getLocalProfileGivenName()
349 Profile.CONTENT_URI.buildUpon().appendPath(Contacts.Data.CONTENT_DIRECTORY).build(), in getLocalProfileGivenName()
372 final Cursor profile = cr.query(Profile.CONTENT_URI, in getProfileDisplayName()
373 new String[] {Profile.DISPLAY_NAME}, null, null, null); in getProfileDisplayName()
/packages/apps/Settings/src/com/android/settings/
DUtils.java76 import android.provider.ContactsContract.Profile;
324 Profile.CONTENT_RAW_CONTACTS_URI, in getLocalProfileGivenName()
342 Profile.CONTENT_URI.buildUpon().appendPath(Contacts.Data.CONTENT_DIRECTORY).build(), in getLocalProfileGivenName()
365 final Cursor profile = cr.query(Profile.CONTENT_URI, in getProfileDisplayName()
366 new String[] {Profile.DISPLAY_NAME}, null, null, null); in getProfileDisplayName()
/packages/apps/Contacts/src/com/android/contacts/compat/
DContactsCompat.java58 (contactId < ContactsContract.Profile.MIN_ID); in isEnterpriseContactId()
/packages/apps/Contacts/src/com/android/contacts/preference/
DDisplayOptionsPreferenceFragment.java37 import android.provider.ContactsContract.Profile;
152 loader.setUri(Profile.CONTENT_URI);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DContactsBinaryDictionary.java84 loadDictionaryForUriLocked(ContactsContract.Profile.CONTENT_URI); in loadInitialContentsLocked()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DProfile.java34 public class Profile { class

12