Searched refs:sSingleton (Results 1 - 9 of 9) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DSessionLibrary.cpp33 SessionLibrary* SessionLibrary::sSingleton = NULL; member in class:clearkeydrm::SessionLibrary
38 if (sSingleton == NULL) {
40 sSingleton = new SessionLibrary();
43 return sSingleton;
H A DSessionLibrary.h47 static SessionLibrary* sSingleton; member in class:clearkeydrm::SessionLibrary
/frameworks/av/drm/mediacas/plugins/clearkey/
H A DClearKeySessionLibrary.cpp30 ClearKeySessionLibrary* ClearKeySessionLibrary::sSingleton = NULL; member in class:android::clearkeycas::ClearKeySessionLibrary
43 if (sSingleton == NULL) {
45 sSingleton = new ClearKeySessionLibrary();
48 return sSingleton;
H A DClearKeySessionLibrary.h84 static ClearKeySessionLibrary* sSingleton; member in class:android::clearkeycas::ClearKeySessionLibrary
/frameworks/av/drm/mediacas/plugins/mock/
H A DMockSessionLibrary.cpp27 MockSessionLibrary* MockSessionLibrary::sSingleton = NULL; member in class:android::MockSessionLibrary
32 if (sSingleton == NULL) {
34 sSingleton = new MockSessionLibrary();
37 return sSingleton;
H A DMockSessionLibrary.h57 static MockSessionLibrary* sSingleton; member in class:android::MockSessionLibrary
/frameworks/base/core/java/android/util/
H A DNtpTrustedTime.java39 private static NtpTrustedTime sSingleton; field in class:NtpTrustedTime
59 if (sSingleton == null) {
74 sSingleton = new NtpTrustedTime(server, timeout);
78 return sSingleton;
/frameworks/base/services/core/java/com/android/server/job/
H A DJobStore.java85 private static JobStore sSingleton; field in class:JobStore
90 if (sSingleton == null) {
91 sSingleton = new JobStore(jobManagerService.getContext(),
94 return sSingleton;
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMtpDocumentsProvider.java83 private static MtpDocumentsProvider sSingleton; field in class:MtpDocumentsProvider
100 return sSingleton;
105 sSingleton = this;

Completed in 192 milliseconds